<%@ page language="java" import="java.util.*" contentType="application/msword; charset=UTF-8" %>
<%@ include file="/static/include/taglib.jsp" %>
<%response.setHeader("Content-Disposition", "attachment; filename=" + java.net.URLEncoder.encode("dwkh.doc", "UTF-8"));%>
<!DOCTYPE html>
<html>
<head>
    <title>Title</title>

    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js" type="text/javascript"></script>
</head>
<body>
    <h4>${title}</h4>
<div class="indexcontent">


    <div class="selftable" id="selftable">

        <table cellspacing="0" cellpadding="0" border="1" class="layui-table" style="margin:0;">

            <thead>


                <tr style="text-align: center">
                    <th colspan="4">考评期间:${date}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 考评单位:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp; 考评组别:
                    </th>

                </tr>
            <tr>
                <th >序号</th>
                <th >被评单位</th>

                <th >总计</th>
                <th >排名</th>


            </tr>

            </thead>
            <tbody>
            <c:forEach var="item" items="${databody}" varStatus="idxStatus">
                <tr>
                    <td>${idxStatus.index+1}</td>
                    <td>${item['orgname']}</td>

                    <td><fmt:formatNumber value="${item['sumscore']}" pattern="#" type="number"/></td>

                    <td>${idxStatus.index+1}</td>
                </tr>
            </c:forEach>


            </tbody>
        </table>
    </div>
</div>
</body>
</html>
